翻訳と辞書
Words near each other
・ New and Old Gospel
・ New and Rediscovered Musical Instruments
・ New and Selected Poems
・ New Andalusia
・ New Andalusia Province
・ New Angoulême
・ New Animal
・ New Annan, Prince Edward Island
・ New Anniesland
・ New Annual Register
・ New Antalya Stadium
・ New Anticapitalist Party
・ New Antioch, Ohio
・ New Antique Records
・ New antisemitism
New API
・ New Apocalyptics
・ New Apostolic Church
・ New Apostolic Church in Nigeria
・ New Apostolic Church in Pakistan
・ New Apostolic Reformation
・ New Appalachia
・ New Appomattox Court House
・ New Approach
・ New Approach to Appraisal
・ New Arabian Nights
・ New Arbat Avenue
・ New areas
・ New Armenian Resistance Group
・ New Army


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

New API : ウィキペディア英語版
New API

New API (also referred to as NAPI) is an interface to use interrupt mitigation techniques for networking devices in the Linux kernel. Such an approach is intended to reduce the overhead of packet receiving. The idea is to defer incoming message handling until there is a sufficient amount of them so that it is worth handling them all at once.
==Motivation==
A straightforward method of implementing a network driver is to interrupt the kernel by issuing an interrupt request (IRQ) for each and every incoming packet. However, servicing IRQs is costly in terms of processor resources and time. Therefore the straightforward implementation can be very inefficient in high-speed networks, constantly interrupting the kernel with the thousands of packets per second. Overall performance of the system as well as network throughput can suffer as a result.
Polling is an alternative to interrupt-based processing. The kernel can periodically check for the arrival of incoming network packets without being interrupted, which eliminates the overhead of interrupt processing. Establishing an optimal polling frequency is important, however. Too frequent polling wastes CPU resources by repeatedly checking for incoming packets that have not yet arrived. On the other hand, polling too infrequently introduces latency by reducing system reactivity to incoming packets, and it may result in the loss of packets if the incoming packet buffer fills up before being processed.
As a compromise, the Linux kernel uses the interrupt-driven mode by default and only switches to polling mode when the flow of incoming packets exceeds a certain threshold, known as the "weight" of the network interface.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「New API」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.